<template>
  <div>
    <h2>这是新闻页</h2>
    {{ $store.getters.doubleNum }}
    <ul>
      <li v-for="item in $store.state.items" :key="item.id">
        <h4>{{item.name}}</h4>
      </li>
    </ul>
  </div>
</template>

<script>
export default {
  name: 'NewsPage'
}
</script>

<style lang="scss" scoped>

</style>
